package com.jackeysun.common_kit

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView

class MainActivity5 : AppCompatActivity() {

    private var tv: TextView? = null
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main5)

        tv = findViewById(R.id.tv);
        tv?.text = "hello world"

        tv?.setOnClickListener {
            tv?.text = "hello world?"
        }
    }
}